type Connection
    native;

export function close:
    &(Connection) => Async[unit]
    native '__RpcConnectionClose';

export function on-close:
    &(Connection) => Async[unit,Error]
    native '__RpcConnectionOnClose';


